
<form id="cntListForm" name="cntListForm" method="POST" action="#" class="well well-large span7">
    <fieldset>
        <legend>Список контактов</legend>
    </fieldset>

    <div class="control-group" style="text-align: right;">
        <button type="button" class="btn btn-success" id="addCnt-open"><i class="icon-plus icon-white"></i> Добавить </button>
    </div>

    <div id="cntContainer">Получение списка контактов...</div>


</form>




<script>


$(function() {
    Elm.cntListCont = $('#cntContainer');
    reloadCntList(Elm.cntListCont);

    $('#addCnt-open').click(function() {
        addNewContact(function() {reloadCntList(Elm.cntListCont);});
    });
});
</script>

<?php echo includeFile(APP_PAGE_PARTS.'forms/form_add_contact.php', array(), true) ?>